<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*" />
    <title>员工管理-添加员工</title>
    <!--cdn连接-->
    <link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui/css/layui.css" />
    <!-- layui js -->
    <script src="https://www.layuicdn.com/layui/layui.js"></script>
    <!--jquery-->
    <script src="./jquery/jquery-3.3.1.js"></script>
    <!-- css -->
    <link rel="stylesheet" type="text/css" href="./css/add-staff.css">
    <!-- js -->
    <script src="js/add-staff.js"></script>
</head>
<body class="layui-layout-body">
    <div class="container layui-form">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend style="font-size: 22px;color: #009688">添加新员工</legend>
        </fieldset>
        <div class="layui-form-item">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-block">
                <input type="text" name="staName" id="staName" lay-verify="required" lay-reqtext="姓名是必填项，不能为空" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">性别</label>
                <div class="layui-input-inline">
                    <select name="sex" id="sex" lay-filter="sex" lay-verify="required" lay-search="">
                        <option value="男" selected="selected">男</option>
                        <option value="女">女</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">身份证号</label>
            <div class="layui-input-block">
                <input type="text" name="idCard" id="idCard" lay-verify="identity" placeholder="" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">联系方式</label>
                <div class="layui-input-inline">
                    <input type="tel" name="phone" id="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">邮箱地址</label>
                <div class="layui-input-inline">
                    <input type="text" name="email" id="email" lay-verify="email" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">所属部门</label>
                <div class="layui-input-inline">
                    <select name="zg001" id="zg001" lay-filter="zg001" lay-verify="required" lay-search="">
                        <option value="021" selected="selected">教练</option>
                        <option value="022">校园代理</option>
                        <option value="023">行政部门</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">基本月薪</label>
                <div class="layui-input-inline" style="width: 100px;">
                    <input type="text" name="remuneration" id="remuneration" placeholder="￥" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
<!--        <div class="layui-form-item">-->
<!--            <div class="layui-inline">-->
<!--                <label class="layui-form-label">出生年月</label>-->
<!--                <div class="layui-input-inline">-->
<!--                    <input type="text" class="layui-input" name="birthTime" id="date1" placeholder="yyyyMMdd">-->
<!--                </div>-->
<!--            </div>-->
<!--        </div>-->
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">入职日期</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" name="entryTime" id="date2" placeholder="yyyyMMdd">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">职业称号</label>
            <div class="layui-input-block">
                <input type="text" name="zc001" id="zc001" lay-verify="required" lay-reqtext="职业称号是必填项，不能为空" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div>
            <button lay-submit lay-filter="demo1" class="layui-btn layui-btn-fluid">
                确认添加
            </button>
        </div>
    </div>
</body>
</html>